package onlinejudge.entity;

/**
 * 主评论实体
 * @author hqz
 */
public class Comment {

	private int commentId;
	private int userId;
	private String commentContent;
	private String commentDate;
	
	public Comment() {
		super();
	}
	public Comment(int commentId, int userId, String commentContent, String commentDate) {
		super();
		this.commentId = commentId;
		this.userId = userId;
		this.commentContent = commentContent;
		this.commentDate = commentDate;
	}
	
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public String getCommentDate() {
		return commentDate;
	}
	public void setCommentDate(String commentDate) {
		this.commentDate = commentDate;
	}
	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", userId=" + userId + ", commentContent=" + commentContent
				+ ", commentDate=" + commentDate + "]";
	}
}
